package $NAMESPACE.domain.service;

import com.ugeez.commons.mybatisplus.service.IEnhanceService;
import $NAMESPACE.persistence.entity.AppUser;
import $NAMESPACE.persistence.entity.UserRole;

import java.util.List;

public interface UserRoleService extends IEnhanceService<UserRole> {

    List<UserRole> getByUserId(Long userId);

    void addRole(Long userId, String role);

    void removeRole(Long userId, String role);
}
